package com.basker.pisces.excel;

import com.basker.pisces.excel.enums.CellValueType;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

/**
 * Excel单元格的描述
 *
 * @author hangwen
 */
@Getter
@Setter
@ToString
public class CellModel {

    private int rowIndex;
    private int columnIndex;
    private Object value;
    private CellValueType valueType;
    private CellStyleModel cellStyleModel;

    public CellModel() {

    }

    public CellModel(int rowIndex, int columnIndex, Object value, CellValueType valueType,
                     CellStyleModel cellStyleModel) {
        super();
        this.rowIndex = rowIndex;
        this.columnIndex = columnIndex;
        this.value = value;
        this.valueType = valueType;
        this.cellStyleModel = cellStyleModel;
    }

}
